package team.first.mongodb.doc;

import dev.morphia.annotations.Entity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.bson.types.ObjectId;

import java.time.LocalDate;

/**
 * @Author: HAPPY
 * @Project_name: project
 * @Package_name: team.first.mongodb.doc
 * @Date: 2021/11/18 23:16
 * @Description：
 */
@Entity(useDiscriminator = false)
@ToString
@Accessors(chain = true)
@Getter
@Setter
public class InnerStaffDoc {
    private ObjectId objectId;
    private Integer id;
    private String chineseName;
    private String englishName;
    private String gender;
    private String region;
    private LocalDate birthday;
    private String summary;
    private String avatarUrl;
    private String avatar;
    private String actAs;
    private Integer roleTypeId;
}
